
import { } from 'antd-mobile';
import React from 'react';
import { decorator } from 'grey-react-box';
import { RouteChildrenProps, withRouter } from 'react-router-dom';
import style from './style.module.scss';
import UserInfo from 'central/UserInfo';
import { server } from 'server';

export default decorator<any, RouteChildrenProps>(withRouter)(props => {
    return (
        <div className={style.body} >
            <img src={`${server.domain}/medicine/account/getQrCode?token=${UserInfo.instance.state.token}`} alt="" />
        </div>
    )
})